//
//  SettingMediaViewController.h
//  PhotoFrame
//
//  Created by William on 11-5-14.
//  Copyright 2011年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "GlobalDelegate.h"

@interface SettingMediaViewController : UITableViewController {
    NSArray *photoPathList;
	id<GlobalDelegate> delegate;
}

@property (assign) id<GlobalDelegate> delegate;

@property (nonatomic, retain) ALAssetsLibrary *library;
@property (nonatomic, retain) NSMutableArray *groups;
@property (nonatomic, retain) NSMutableArray *assets;
@property (nonatomic, retain) NSMutableDictionary *elements;
@property (nonatomic, retain) NSMutableArray *orderElements;
@property (nonatomic, retain) NSMutableArray *thumbnailCache;

@property (nonatomic, retain) ALAssetsFilter *filter;
@property (nonatomic, retain) NSString *mediaType;
@property (nonatomic, retain) NSString *headTitle;

- (void) reloadGroups;
- (void) allSelected;
- (void) setThumbnailView;
@end
